<?php 
$image = $this->image;
$config = Zend_Registry::get('configuration');
?>
<div style="width:100px;" class="jpg file thumbnail" id="file_<?php echo $image['index']?>">
	<div class="wrap">
		<a style="height:100px;" class="pic" rel="file" title="<?php echo $image['name']?>" href="#action">
			<div class="mid">
				<div class="mid2">
					<img class="thumbnailimage" alt="" src="<?php echo $config->site->upload->image->thumb_url . $image['file_name']?>">
				</div>
			</div>
		</a>
		<div class="menuAction">
			<div class="menuItem">
				<a class="imgDelete" onclick="deleteImage('<?php echo $image['id']?>')" href="javascript:void(0);">Xóa</a>				
			</div>			
			<div class="menuItem">
				<a class="imgInsert" onclick="insertImage('<?php echo $config->site->upload->image->image_url . $image['file_name']?>');" rel="<?php echo $image['id']?>" href="javascript:void(0);">Chèn</a>				
			</div>			
			<div class="menuItem">
				<a class="imgView" title="<?php echo $image['name']?>" href="<?php echo $config->site->upload->image->image_url . $image['file_name']?>">Xem</a>				
			</div>
			<div class="menuItem">
				<a class="imgDownload" rel="<?php echo $image['id']?>" href="/admin/media/download-image/id/<?php echo $image['id']?>">Tải về máy</a>				
			</div>
		</div>
	</div>
	<div class="details">
		<div class="wrap2">
			<div title="<?php echo $image['name']?>" style="width:74px;" class="name"><?php echo $image['name']?></div>
			<div class="act"><a rel="menu" href="#action"><img width="16" height="16" alt="" src="/html/admin/images/media/act.gif"></a></div>
		</div>
	</div>
</div>
